<?php
include("inc/funcoes.php");
$video = base64_decode($_GET['video']);
$sql_video = mysql_query("SELECT url,id,descricao,titulo,data FROM video WHERE id = $video ");
list($url,$id,$descricao,$titulo,$data)=mysql_fetch_array($sql_video);
$data = implode("/",array_reverse(explode("-",$data)));
?>
<div style="top:15px;;position:relative;background-image:url(img/top_menu2.png);width:660px;height:45px;">
    <div style="width:600px;position:relative;top:6px;left:20px;">
    <font style="font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;font-size:20px;color:white;" >Galeria de Videos / <?php echo substr($titulo,0,40)." ....."; ?></font>
    </div>
</div>
<div class="vid2"><center>
<font style="font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;">Data: <?php echo $data; ?></font>
<br />
<font><?php echo $titulo; ?></font>
<br />
<?php
	$youtubeVideo1 = $url;
	embedVideo($youtubeVideo1,400,275);
	echo "<br />";
	echo $descricao;
?>
</center>
</div>
